package homeworkSYX_OODay04;

public abstract class Animal {
    String name;
    String color;
    int age;
    Animal(){

    }
    Animal(String name,String color,int age){
        this.name = name;
        this.color = color;
        this.age = age;
    }

    public void drink(){
        System.out.println(color + "色的" + age + "岁的" + name + "正在喝水..");
    }
    public abstract void eat();

}
